<?php if (!defined('THINK_PATH')) exit(); if (!defined('SHUIPF_VERSION')) exit(); ?>
  <div class="table_list">
    <table width="100%">
      <colgroup>
      <col width="90">
      <col>
      <col width="160">
      </colgroup>
      <thead>
        <tr>
          <td align="center">应用图标</td>
          <td>应用介绍</td>
          <td align="center">操作</td>
        </tr>
      </thead>
      <?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
        <td>
            <div class="app_icon">
            <?php if( $vo['icon'] ): ?><img src="<?php echo ($vo["icon"]); ?>" alt="<?php echo ($vo["modulename"]); ?>" width="80" height="80">
            <?php else: ?>
            <img src="<?php echo ($config_siteurl); ?>statics/images/modul.png" alt="<?php echo ($vo["modulename"]); ?>" width="80" height="80"><?php endif; ?>
            </div>
        </td>
        <td valign="top">
            <h3 class="mb5 f12"><?php if( $vo['address'] ): ?><a target="_blank" href="<?php echo ($vo["address"]); ?>"><?php echo ($vo["modulename"]); ?></a><?php else: echo ($vo["modulename"]); endif; ?></h3>
            <div class="mb5"> <span class="mr15">版本：<b><?php echo ($vo["version"]); ?></b></span> <span>开发者：<?php if( $vo['author'] ): ?><a target="_blank" href="<?php echo ($vo["authorsite"]); ?>"><?php echo ($vo["author"]); ?></a><?php else: ?>匿名开发者<?php endif; ?></span> <span>适配 ShuipFCMS 最低版本：<?php if( $vo['adaptation'] ): echo ($vo["adaptation"]); else: ?><font color="#FF0000">没有标注，可能存在兼容风险</font><?php endif; ?></span> </div>
            <div class="gray"><?php if( $vo['introduce'] ): echo ($vo["introduce"]); else: ?>没有任何介绍<?php endif; ?></div>
            <div> <span class="mr20"><a href="<?php echo ($vo["authorsite"]); ?>" target="_blank"><?php echo ($vo["authorsite"]); ?></a></span> </div>
        </td>
        <td align="center">
          <?php
 $op = array(); if(!isModuleInstall($vo['module'])){ $op[] = '<a href="'.U('install',array('sign'=>$vo['sign'])).'" class="btn btn_submit mr5 Js_install">安装</a>'; }else{ if($vo['upgrade']){ $op[] = '<a href="'.U('upgrade',array('sign'=>$vo['sign'])).'" class="btn btn_submit mr5 Js_upgrade" id="upgrade_tips_'.$vo['sign'].'">升级到最新'.$vo['newVersion'].'</a>'; } } echo implode('  ',$op); if($vo['price']){ echo "<br /><font color=\"#FF0000\">价格：".$vo['price']." 元</font>"; } ?>
        </td>
      </tr><?php endforeach; endif; else: echo "" ;endif; ?>
    </table>
  </div>
  <div class="p10">
        <div class="pages"><?php echo ($Page); ?></div>
   </div>